package com.itheima.dao;

import com.itheima.pojo.Member;


public interface MemberDao {
    //[电话]对应的会员信息
    Member findByTelephone(String telephone);

    void add(Member menber);
    //获取对应年月[yyyy-MM]对应的会员数量
    Integer findMemberCountByYearAndMonth(String month);

    //今日新增会员数  todayNewMember
    Integer getTodayNewMember(String reportDate);
    //总会员数  totalMember
    Integer getTotalMember();
    //本周新会员
    Integer getThisWeekNewMember(String fristDayOfWeek);
    //本月新会员
    Integer getThisMonthNewMember(String firstDay4ThisMonth);
}
